<template>
  <div class="role-container">
    <h2>角色管理</h2>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="name" label="角色名称" />
      <el-table-column prop="description" label="描述" />
      <el-table-column prop="permissions" label="权限" />
    </el-table>
  </div>
</template>

<script setup>
import { ref } from 'vue'

const tableData = ref([
  {
    name: '管理员',
    description: '系统管理员',
    permissions: '所有权限'
  },
  {
    name: '普通用户',
    description: '普通用户',
    permissions: '基础权限'
  }
])
</script>

<style scoped>
.role-container {
  padding: 20px;
}
</style> 